* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

:root {
  --nkm-blue: rgb(60 60 59);
  --nkm-orange: #f37a20;
  --nkm-light: #e8f0f9;
  --nkm-gray: #f5f7fa;
  --text-color: #333;
  --border-color: #eee;
}

body {
  background: #fff;
  color: var(--text-color);
  line-height: 1.7;
}

header {
  background: var(--nkm-blue);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav {
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  height: 80px;
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
  padding: 10px 25px 10px 25px;
}

.logo-text {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--nkm-orange);
}

.banner {
  width: 100%;
  height: 420px;
  background: url(../img/quanfenshengcangxian.png) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 60px 5%;
  position: relative;
}

.banner::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

.banner-content h1 {
  font-size: 42px;
  color: #fff;
  margin-bottom: 12px;
}

.banner-content p {
  font-size: 18px;
  color: #eee;
  max-width: 700px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 5%;
}

/* ========== 滚动动画样式 ========== */
.process-section {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.process-section.show {
  opacity: 1;
  transform: translateY(0);
}

.intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 80px;
}

.intro-text h2 {
  font-size: 28px;
  color: var(--nkm-blue);
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 6px solid var(--nkm-orange);
}

.intro-text p {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
}

.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.process-section {
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.process-title {
  width: 100%;
  padding: 20px 25px;
  background: var(--nkm-light);
  font-size: 20px;
  color: var(--nkm-blue);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* cursor: pointer; */
  transition: background 0.3s;
}

.process-title:hover {
  background: #dce8f5;
}

.process-title .icon {
  font-size: 24px;
  color: var(--nkm-orange);
  transition: transform 0.3s ease;
}

.process-title.active .icon {
  transform: rotate(180deg);
}

.process-content {
  padding: 10px 0;
  max-height: 9999px;
  overflow: visible;
}

.process-content-inner {
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.process-text h3 {
  font-size: 18px;
  color: var(--nkm-blue);
  margin-bottom: 12px;
}

.process-text p {
  font-size: 15px;
  color: #555;
}

.process-img img {
  width: 100%;
  border-radius: 6px;
}

/* 单机按钮 */
.machine-btn {
  width: 100%;
  margin: 12px 0;
  padding: 18px 22px;
  background: var(--nkm-light);
  border: 2px solid #dce8f5;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--nkm-blue);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(35, 75, 153, 0.08);
}

.machine-btn:hover {
  background: var(--nkm-blue);
  color: #fff;
  border-color: var(--nkm-blue);
}

/* 弹窗遮罩 */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* 【加大版】弹窗主体 更宽更大 */
.modal-box {
  width: 100%;
  max-width: 1200px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  animation: modalFade 0.3s ease;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-head {
  padding: 24px 30px;
  background: var(--nkm-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-head h2 {
  color: #fff;
  font-size: 26px;
}

.modal-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--nkm-blue);
  font-size: 24px;
  text-align: center;
  line-height: 42px;
  cursor: pointer;
  font-weight: bold;
}

/* 弹窗内容 加高加宽内边距 */
.modal-body {
  padding: 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}

.modal-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.modal-desc p {
  font-size: 17px;
  color: #333;
  line-height: 2;
}

.footer-top {
  background: var(--nkm-blue);
  color: #fff;
}

.footer-row {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.footer-col {
  flex: 1;
  min-width: 260px;
}

.footer-col h4 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--nkm-orange);
  display: inline-block;
}

.footer-col p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--nkm-orange);
}

footer {
  background: var(--nkm-blue);
  color: #fff;
  text-align: center;
  padding: 30px 5%;
  font-size: 14px;
}

@media (max-width: 768px) {

  .intro-row,
  .process-content-inner,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .banner {
    height: 280px;
  }

  .banner-content h1 {
    font-size: 28px;
  }

  .nav-menu {
    gap: 15px;
  }

  .modal-body {
    padding: 20px;
  }
}